package com.zizo.autohome.sta.competition.price;

public class CompPrice {
	private int cid1;
	private int cid2;
	private String cname1;
	private String cname2;
	private double price1;
	private double price2;
	private double price_diff;
	private int year1;
	private int year2;

	public CompPrice(int cid1, int cid2, String cname1, String cname2, double price1, double price2, double price_diff,
			int year1, int year2) {
		super();
		this.cid1 = cid1;
		this.cid2 = cid2;
		this.cname1 = cname1;
		this.cname2 = cname2;
		this.price1 = price1;
		this.price2 = price2;
		this.price_diff = price_diff;
		this.year1 = year1;
		this.year2 = year2;
	}

	public int getCid1() {
		return cid1;
	}

	public void setCid1(int cid1) {
		this.cid1 = cid1;
	}

	public int getCid2() {
		return cid2;
	}

	public void setCid2(int cid2) {
		this.cid2 = cid2;
	}

	public String getCname1() {
		return cname1;
	}

	public void setCname1(String cname1) {
		this.cname1 = cname1;
	}

	public String getCname2() {
		return cname2;
	}

	public void setCname2(String cname2) {
		this.cname2 = cname2;
	}

	public double getPrice1() {
		return price1;
	}

	public void setPrice1(double price1) {
		this.price1 = price1;
	}

	public double getPrice2() {
		return price2;
	}

	public void setPrice2(double price2) {
		this.price2 = price2;
	}

	public double getPrice_diff() {
		return price_diff;
	}

	public void setPrice_diff(double price_diff) {
		this.price_diff = price_diff;
	}

	public int getYear1() {
		return year1;
	}

	public void setYear1(int year1) {
		this.year1 = year1;
	}

	public int getYear2() {
		return year2;
	}

	public void setYear2(int year2) {
		this.year2 = year2;
	}

}
